package com.zhaoxi.project.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import com.zhaoxi.framework.web.domain.TreeEntity;
import lombok.Data;

/**
 * 计划排程对象 mes_schedule_line
 * 
 * @author zhaoxi
 * @date 2023-11-10
 */
@Data
public class MesScheduleLine extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 计划id */
    @Excel(name = "计划id")
    private Long id;

    /** 主键 */
    private Long lineId;

    /** 生产线id */
    @Excel(name = "生产线id")
    private Long workshopId;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productCode;

    /** 开始生产 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始生产", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 需求数量 */
    @Excel(name = "需求数量")
    private BigDecimal quantity;

    /** 已完成数量 */
    @Excel(name = "已完成数量")
    private BigDecimal quantityCompletion;

    /** 已解析物料数量 */
    @Excel(name = "已解析物料数量")
    private BigDecimal quantityMaterial;

    /** 工单已生产数量 */
    @Excel(name = "工单已生产数量")
    private BigDecimal quantityTask;

    /** 租户 */
    private Long tenantId;


}
